package site.marqstree.kotlin.library.provider.router


/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.library.provider.router
 * 文件名: RouterPath
 * 创建者: marqstree
 * 创建时间: 2020/3/18 12:27
 * 描述: TODO
 */
/*
    模块路由 路径定义
 */
object ProviderRouter{

    //ARouter拦截器记录path的key
    const val NEXT_PATH = "next_path"

    //用户模块
    class User{
        companion object {
            const val PATH_LOGIN = "/user/activity/login"
        }
    }

    //商品模块
    class Good{
        companion object{
            const val PATH_GOOD_DETAIL = "/good/activity/gooddetail"
            const val PATH_CART_LIST = "/good/fragment/cartlist"
        }
    }

    //订单模块
    class OrderCenter{
        companion object {
            const val ORDER_CONFIRM = "/order/confirm"
        }
    }

    //支付模块
    class PaySDK{
        companion object {
            const val PATH_PAY = "/paySDK/pay"
        }
    }

    //消息模块
    class MessageCenter{
        companion object {
            const val PATH_MESSAGE_PUSH = "/messageCenter/push"
            const val PATH_MESSAGE_ORDER = "/messageCenter/order"
        }
    }
}